package cn.fuxue.hrms.common.entity;
import java.sql.Timestamp;
/**
 * @author 王文勇
 * @version 1.0
 * 出差报告实体类
 */
public class BusinessTripReport {
    // 出差报告唯一标识
    private int id;
    // 关联的出差申请唯一标识，表明是哪条出差申请对应的报告
    private int applicationId;
    // 出差报告提交日期
    private Timestamp submitDate;

    // 无参构造函数
    public BusinessTripReport() {
    }

    // 全参构造函数
    public BusinessTripReport(int id, int applicationId, Timestamp submitDate) {
        this.id = id;
        this.applicationId = applicationId;
        this.submitDate = submitDate;
    }

    // Getter 和 Setter 方法
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getApplicationId() {
        return applicationId;
    }

    public void setApplicationId(int applicationId) {
        this.applicationId = applicationId;
    }

    public Timestamp getSubmitDate() {
        return submitDate;
    }

    public void setSubmitDate(Timestamp submitDate) {
        this.submitDate = submitDate;
    }

    @Override
    public String toString() {
        return "BusinessTripReport{" +
                "id=" + id +
                ", applicationId=" + applicationId +
                ", submitDate=" + submitDate +
                '}';
    }
}